<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>管理控制台</title>
		<link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" href="/static/admin/Js/layui/css/layui.css">
		<link rel="stylesheet" type="text/css" href="/static/admin/Css/identify.css" />
		<link rel="stylesheet" type="text/css" href="/static/admin/Css/layout.css" />
		<link rel="stylesheet" type="text/css" href="/static/admin/Css/style.css" />
		<link rel="stylesheet" type="text/css" href="/static/admin/Css/control_index.css" />
		<script type="text/javascript" src="/static/admin/Js/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="/static/admin/Js/layui/layui.js"></script>
		<script type="text/javascript" src="/static/admin/Js/haidao.offcial.general.js"></script>
		<script type="text/javascript" src="/static/admin/Js/select.js"></script>
		<script type="text/javascript" src="/static/admin/Js/haidao.validate.js"></script>
	</head>

	<body>
		<div class="view-topbar">
			<div class="topbar-console">
				<div class="tobar-head fl">
					<a href="#" class="topbar-logo fl">
					<span><img src="/static/admin/Images/logo.png" width="20" height="20"/></span>
					</a>
					<a href="/admin" class="topbar-home-link topbar-btn text-center fl"><span>管理控制台</span></a>
				</div>
			</div>
			<div class="topbar-info">
				<ul class="fr">
					<li class="fl dropdown topbar-notice topbar-btn">
					<a href="#" class="dropdown-toggle">
					<span class="icon-notice"></span>
					<span class="topbar-num have">0</span>
					<!--have表示有消息，没有消息去掉have-->
					</a>
					</li>
					<!-- 					<li class="fl topbar-info-item strong">
					<div class="dropdown">
						<a href="#" class="dropdown-toggle topbar-btn">
						<span class="fl">工单服务</span>
						<span class="icon-arrow-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="#">我的工单</a></li>
							<li><a href="#">提交工单</a></li>
						</ul>
					</div>
					</li>
					 -->
					<li class="fl topbar-info-item">
					<div class="dropdown">
						<a href="#" class="topbar-btn">
						<span class="fl text-normal">帮助与文档</span>
						<span class="icon-arrow-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="#">模板开发手册</a></li>
							<li><a href="#">某某数据字典</a></li>
						</ul>
					</div>
					</li>
					<li class="fl topbar-info-item">
					<div class="dropdown">
						<a href="#" class="topbar-btn">
						<span class="fl text-normal"><?php echo session('admin_info.name') ?></span>
						<span class="icon-arrow-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="/admin/admin/admin_modify">修改资料</a></li>
							<li><a href="/admin/login/logout">退出</a></li>
						</ul>
					</div>
					</li>
				</ul>
			</div>
		</div>
		<div class="view-body">
			<div class="view-sidebar">
				<div class="sidebar-content">
					<div class="sidebar-nav sidebar-nav-fold">
						<div class="sidebar-title">
							<a href="#">
								<span class="icon"><b class="fl icon-arrow-down"></b></span>
								<span class="text-normal">图片管理</span>
							</a>
						</div>
						<ul class="sidebar-trans" style="display:none;overflow:hidden;">
							<li>
								<a href="/admin/images/images_list">
									<b class="sidebar-icon"></b>
									<i class="fa fa-picture-o" aria-hidden="true"></i> 
									<span class="text-normal">&nbsp;&nbsp;图片列表</span>
								</a>
							</li>
							<li>
								<a href="/admin/images/images_add">
									<b class="sidebar-icon"></b>
									<i class="fa fa-upload" aria-hidden="true"></i>
									<span class="text-normal">&nbsp;&nbsp;添加图片</span>
								</a>
							</li>
							<!-- <li>
								<a href="#">
									<b class="sidebar-icon"><img src="Images/icon_market.png" width="16" height="16" /></b>
									<span class="text-normal">云市场</span>
								</a>
							</li> -->
						</ul>
					</div>
					<div class="sidebar-nav sidebar-nav-fold">
						<div class="sidebar-title">
							<a href="#">
								<span class="icon"><b class="fl icon-arrow-down"></b></span>
								<span class="text-normal">管理员管理</span>
							</a>
						</div>
						<ul class="sidebar-trans" style="display:none;overflow:hidden;">
							<li>
								<a href="/admin/admin/admin_list">
									<b class="sidebar-icon"></b>
									<i class="fa fa-user-o" aria-hidden="true"></i>
									<span class="text-normal">&nbsp;&nbsp;管理员列表</span>
								</a>
							</li>
						</ul>
					</div>
					<div class="sidebar-nav sidebar-nav-fold">
						<div class="sidebar-title">
							<a href="#">
								<span class="icon"><b class="fl icon-arrow-down"></b></span>
								<span class="text-normal">用户中心</span>
							</a>
						</div>
						<ul class="sidebar-trans" style="display:none;overflow:hidden;">
							<li>
								<a href="userInfo.html">
									<b class="sidebar-icon"><img src="/static/admin/Images/icon_cost.png" width="16" height="16" /></b>
									<span class="text-normal">账号管理</span>
								</a>
							</li>
							<li>
								<a href="identify.html">
									<b class="sidebar-icon"><img src="/static/admin/Images/icon_authentication.png" width="16" height="16" /></b>
									<span class="text-normal">实名认证</span>
								</a>
							</li>
							<li>
								<a href="message.html">
									<b class="sidebar-icon"><img src="/static/admin/Images/icon_news.png" width="16" height="16" /></b>
									<span class="text-normal">消息中心</span>
								</a>
							</li>
							<li>
								<a href="money.html">
									<b class="sidebar-icon"><img src="/static/admin/Images/icon_gold.png" width="16" height="16" /></b>
									<span class="text-normal">金币管理</span>
								</a>
							</li>
							<li>
								<a href="order.html">
									<b class="sidebar-icon"><img src="/static/admin/Images/icon_order.png" width="16" height="16" /></b>
									<span class="text-normal">订单管理</span>
								</a>
							</li>
						</ul>
					</div>
				</div>
			</div>
			{block name="content"}

			{/block}
		</div>

		<script>
			(function(){
				var pathname=document.location.pathname;
				var dom='a[href="'+pathname+'"]';
				if($(dom).length>0){
					$(dom).parents('.sidebar-nav').removeClass('sidebar-nav-fold');
					$(dom).parents('.sidebar-trans').show();

				}
			})($)
			$(".sidebar-title").live('click', function() {
				if ($(this).parent(".sidebar-nav").hasClass("sidebar-nav-fold")) {
					$(this).next().slideDown(200);
					$(this).parent(".sidebar-nav").removeClass("sidebar-nav-fold");
				} else {
					$(this).next().slideUp(200);
					$(this).parent(".sidebar-nav").addClass("sidebar-nav-fold");
				}
			});
		</script>
	</body>

</html>